package matchthreegame.utils;

import java.util.HashMap;

public class HeroConditions {

public static HashMap<Integer, Integer> getHeroConditionsForType(int heroType) {
		
		HashMap<Integer, Integer> heroConditions = null;
		
		switch (heroType) {
		
		case 1:
			heroConditions = heroConditions1;
			break;
			
		case 2:
			heroConditions = heroConditions2;
			break;
			
		case 3:
			heroConditions = heroConditions3;
			break;
			
		case 4:
			heroConditions = heroConditions4;
			break;
			
		case 5:
			heroConditions = heroConditions5;
			break;
			
		case 6:
			heroConditions = heroConditions6;
			break;
			
		case 7:
			heroConditions = heroConditions7;
			break;
			
		case 8:
			heroConditions = heroConditions8;
			break;
			
		case 9:
			heroConditions = heroConditions9;
			break;
			
		default:
			break;
		}
		
		return heroConditions;
		
	}


	//Type 1
	private static HashMap<Integer, Integer> heroConditions1 = new HashMap<Integer, Integer>(){{
		
		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 5);
		put(6, 5);
		
	}};
	
	
	//Type 2
	private static HashMap<Integer, Integer> heroConditions2 = new HashMap<Integer, Integer>(){{
		
		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 5);
		put(6, 5);
		
	}};


	//Type 3
	private static HashMap<Integer, Integer> heroConditions3 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 5);
		put(6, 5);

	}};
	
	
	//Type 4
	private static HashMap<Integer, Integer> heroConditions4 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 3);
		put(6, 3);

	}};
	
	//Type 5
	private static HashMap<Integer, Integer> heroConditions5 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 5);
		put(6, 5);

	}};

	//Type 6
	private static HashMap<Integer, Integer> heroConditions6 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 5);
		put(6, 5);

	}};

	//Type 7
	private static HashMap<Integer, Integer> heroConditions7 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 3);
		put(6, 3);

	}};
	
	//Type 8
	private static HashMap<Integer, Integer> heroConditions8 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 5);
		put(6, 5);

	}};
	
	//Type 9
	private static HashMap<Integer, Integer> heroConditions9 = new HashMap<Integer, Integer>(){{

		put(1, 0);
		put(2, 0);
		put(3, 0);
		put(4, 0);
		put(5, 3);
		put(6, 3);

	}};

}
